LegendText Property

       

Returns or sets the text that identifies the series in the legend of a chart.

Syntax

object.LegendText [ = text ]

The LegendText property syntax has these parts:

Part Description
object An object expression that evaluates to an object in the Applies To list.
text String. The text that identifies the current series in the legend.

Remarks

By default, this text is the same as the Text property of the ColumnLabel object.